//执行用例，

console.log(__dirname)
console.log(__filename)
var samples =  require('../samples')
var assert =require('../assertion')
var interfacemodel = {
    url:'http://10.100.2.36:8086/api/operation/authenticate/account',
    repData:{
        login:"admin",
        password:"wujun27",
        type : "account"
    },
    headers:{
        'content-type': "application/json; charset=utf-8",
        method: 'post',
        timeout:10000,
    },
    assertsql:""
}

samples.httpResquest(interfacemodel.url,interfacemodel.repData,interfacemodel.headers)
    .then(data =>console.log(data))
    .catch(err=>console.log(err))


